package com.qudian.java.core.bean;

import com.qudian.java.core.common.annotation.Validate;

/**
 * Created by zhangdelong on 16/11/22.
 */
public class EmailInfo {

    @Validate(description="认证码", isNotNull=true)
    private String auth;

    @Validate(description="邮件标题", isNotNull=true)
    private String title;

    @Validate(description="邮件内容", isNotNull=true)
    private String context;

    public String getAuth()
    {
        return this.auth;
    }

    public void setAuth(String auth) {
        this.auth = auth;
    }

    public String getTitle() {
        return this.title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContext() {
        return this.context;
    }

    public void setContext(String context) {
        this.context = context;
    }

    public String toString()
    {
        return "EmailInfo [auth=" + this.auth + ", context=" + this.context + ", title=" +
                this.title + "]";
    }
}
